'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;

  router.get('/', controller.home.index);

  router.post('/api/getList', controller.home.getList)

  router.post('/api/login', controller.home.Login);


  //详情
  router.post("/api/detail", controller.home.detail);

  router.post('/api/screening1', controller.home.screening1);

  //购房筛选
  router.post('/api/screening3', controller.home.screening3);


  router.post('/api/screening4', controller.home.screening4);


};
